package com.draemoncode.weixindb.server;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "eventCallClient", url = "${server.url}")
public interface EventCallClient {

    @RequestMapping(value = "/event", method = RequestMethod.POST)
    public void event(@RequestBody EventValue event);
}
